<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Login</title>
<script language="javascript">
	function myReload() {
		document.getElementById("creatCheckCode").src = document
				.getElementById("creatCheckCode").src
				+ "?nocache=" + new Date().getTime();
	}
	function check() {
		if (indexform.username.value == "" || indexform.username.value == null) {
			alert("input your name!");
			return false;
		}
		if (indexform.password.value == "" || indexform.password.value == null) {
			alert("input your password!");
			return false;
		}
		if (indexform.checkCode.value == ""
				|| indexform.checkCode.value == null) {
			alert("input your checkCode!");
			return false;
		}
		return true;
	}
</script>
</head>
<body>
	TESTING...
	<br>
	<hr>
	<form name="indexform" action="Verify" method="post"
		onSubmit="return check();">
		username:<input type="text" name="username"><br>
		password:<input type="password" name="password"><br>
		checkcode:<input type="text" name="checkCode" size="8" maxlength="4">
		<img src="CheckCode" id="creatCheckCode"><a href="#"
			onClick="myReload()">&nbsp;Next</a> <br> <input type="submit"
			name="submit" value="submit"> <input type="reset"
			name="reset" value="reset">
	</form>
</body>
</html>
